﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VOL;
using BLL;
using System.Data;
using System.Data.SqlClient;


namespace WebShoes.Admin
{
    public partial class HoaDonManagerForm : System.Web.UI.Page
    {
        HoaDonBL _hoaDonBL = new HoaDonBL();
        protected void Page_Load(object sender, EventArgs e)
        {
            GridView1.DataSource = _hoaDonBL.viewHoaDon();
            GridView1.DataBind();
        }

        protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            GridView1.PageIndex = e.NewPageIndex;
            GridView1.DataBind();
        }
    }
}